﻿@{
    ViewBag.Title = "EditList";
}
@model List<Test_EF_DbContext.User>
<fieldset>
    <legend>编辑列表</legend>
    @using (Html.BeginForm())
    {
        foreach (var item in Model)
        {
        <p>
            ID:@Html.Hidden("ID", item.ID)
            姓名：@Html.TextBox("Name", item.Name)
            状态：@Html.TextBox("Status", item.Status)</p>
        } <div class="OperatePanel">
            <button>
                提交5条数据</button>
            @Html.ActionLink("返回", "Index")</div>
    }
</fieldset>
